import React from 'react';
import './MyDate.css'
const MyDate = (props) => {
  return (
    <div>
      <div className='date'>
        <div className='month'>{props.date.substr(5,2)}月</div>
        <div className='day'>{props.date.substr(8,2)}</div>
      </div>
    </div>
  );
};

export default MyDate;